package com.sgb.kjwl.view.ui.adapter;

import android.content.Context;

import com.sgb.kjwl.BR;
import com.sgb.kjwl.R;
import com.sgb.kjwl.model.entity.TwoLevelForPopWindowEntity;
import com.swgk.core.recyclerview.adapter.BaseRecycleAdapter;
import com.swgk.core.recyclerview.adapter.ItemViewHolder;

import java.util.List;

public class TwoLevelForPopChildWindowAdapter<D extends TwoLevelForPopWindowEntity> extends BaseRecycleAdapter<D> {

    public TwoLevelForPopChildWindowAdapter(Context context, List<D> datas) {
        super(context, R.layout.item_two_level_child_for_pop_window, datas);
    }

    @Override
    public void convert(ItemViewHolder holder, D s) {
        holder.setBinding(BR.twoLevel,s);
    }

}